﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Geometry;

namespace Bes.Swsp.ToolBox
{
  /// <summary>
  /// A class representing a catchment draining to an inlet node in the storm drainage network.
  /// </summary>
  public class Catchment
  {
    /// <summary>
    /// The shape of the catchment.
    /// </summary>
    public IPolygon Polygon { get; set; }

    /// <summary>
    /// The inlet node this catchment drains to.
    /// </summary>
    public InletNode DrainageNode { get; internal set; }

    /// <summary>
    /// The local flow accumulation from this catchment (does not include flow from outlets inside this catchment).
    /// </summary>
    public double LocalFlowAccumulation { get; set; }

    /// <summary>
    /// The local load accumulation from this catchment (does not include load from outlets inside this catchment).
    /// </summary>
    public double LocalLoadAccumulation { get; set; }
  }
}
